package kr.co.sdworld.common.util.generator;

import java.rmi.RemoteException;

public interface IIDGenerator {
    /**
    * Object ID를 생성한다.
    *
    * @return ID.
    * @exception RemoteException
    */
    public long getID() throws  RemoteException;

    /**
    * Object ID를 생성한다.
    *
    * @param nSize number of ID to generate.
    * @return array of ID.
    * @exception RemoteException
    */
    public long[] getID(int nSize) throws  RemoteException;
}
